home *** CD-ROM | disk | FTP | other *** search
- /*
- @Node Header
- @Next Macro
-
- Code: helpbar.rexx
- Author: Russell Leighton
- Revision: 16 Feb 1994
-
- Comments:
-
- This script is used by ami2d.rexx to setup the button window for general
- operations. It is only required by ami2d.rexx and should not be executed
- as a standalone script. It does, however, serve as an example script for
- rexxbar.
-
- @EndNode
- @Node Macro
- */
-
- options results
-
- address command
- if ~show('ports',"RXB_HELP") then do
- 'run ami2d:bin/rexxbar -hRXB_HELP -pAMI2D'
- 'waitforport RXB_HELP'
- end
- else address rxb_help 'close'
-
- address rxb_main 'open'
- parse var result ix iy iw ih
-
- address rxb_help
-
- 'button(0,read,ami2d:macros/help/read)'
- 'button(1,save,save)'
-
- 'button(3,clear,clear)'
- 'button(4,wind,window)'
- 'button(5,find,find)'
- 'button(6,zoom,zoom)'
- 'button(7,move,move)'
- 'button(8,plot,plot)'
- 'button(9,fill,fill)'
-
- 'button(11,help,ami2d:macros/help/help)'
- 'button(13,undo,ami2d:macros/help/undo)'
- 'open('0 - iw',-200,'iw',200,AMI2D)'
-
- exit
-